package com.guigu.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.community.pojo.Quote;
import com.guigu.community.vo.QuoteVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuoteMapper extends BaseMapper<Quote> {
//    根据用户ID 查询出 供应商 所报出的所有商品的报价
    List<Quote> listQuoteUser(QuoteVo vo);
    List<Quote> selectByVo(QuoteVo vo);

    // 根据商品 ID 查询报价信息
    List<Quote> selectQuotesByProductId(Integer productId);
}